:root {
	--totalWid: 100%;
}
header {
	width: var(--totalWid);
	height: 60px;
	background-color: #0d60cf;
}
.head {
	display: flex;
	justify-content: space-between;
	height: 60px;
	background-color: #0d60cf;
}
.head img {
	color: white;
	margin-left: 30px;
}
.navigation {
	display: flex;
	width: 550px;
}
.navigation a {
	display: inline-block;
	position: relative;
	width: 100px;
	height: 57px;
	text-align: center;
	line-height: 57px;
	color: white;
}

.navigation a:hover {
	color: red;
}
.navigation .active::after {
	content: "";
	position: absolute;
	left: 40%;
	display: block;
	width: 20%;
	height: 3px;
	background-color: white;
	z-index: 9;
}
.login-gift {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 200px;
	height: 60px;
	line-height: 60px;
	margin-right: 30px;
}
.login-gift a {
	display: inline-block;
	width: 80px;
	height: 30px;
	border: white 1px solid;
	color: white;
	border-radius: 40px;
	line-height: 30px;
	text-align: center;
}
.head .gift {
	background-color: #ed510a;
}
.login-gift a:hover {
	color: pink;
}

main {
	width: var(--totalWid);
}
/* banner 轮播图 */
#banner {
	width: var(--totalWid);
	height: 610px;
	background-color: #0d60cf;
}
#banner .swiper .swiper-wrapper div {
	width: 100%;
	height: 610px;
}
.swiper-wrapper div:first-child {
	background: url(../images/banner1.png) no-repeat center;
	background-size: cover;
}
.swiper-wrapper div:nth-child(2) {
	background: url(../images/banner2.png) no-repeat center;
	background-size: cover;
}
.swiper-wrapper div:last-child {
	background: url(../images/banner3.png) no-repeat center;
	background-size: cover;
}

/* 为开发者提供云服务 */
#cloud-services {
	margin: 100px auto;
}
#cloud-services div:first-child {
	text-align: center;
}
#cloud-services p:nth-child(3) {
	margin: 30px 0;
}
#services-project {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#services-project .content {
	display: flex;
	flex-wrap: wrap;
	width: 240px;
	height: 270px;
	border: blue solid 1px;
	box-shadow: 5px 5px 5px blue;
}
#services-project .content .picture {
	height: 170px;
	width: 240px;
	background: url(../images/service01.svg) no-repeat;
}
#services-project .content .text {
	padding-left: 10px;
	text-align: left;
}
#services-project .content .text p:first-child {
	font-size: 25px;
}
#services-project .content .text a {
	display: inline-block;
	margin: 10px 0;
}
#services-project .content .picture1 {
	height: 170px;
	width: 240px;
	background: url(../images/service02.svg) no-repeat;
}
#services-project .content .picture2 {
	height: 170px;
	width: 240px;
	background: url(../images/service03.svg) no-repeat;
}
#services-project .content .picture3 {
	height: 170px;
	width: 240px;
	background: url(../images/service04.svg) no-repeat;
}

/* <!-- 海量的API服务，丰富的API分类 --> */
#classification {
	width: var(--totalWid);
	height: 600px;
	width: var(--totalWid);
	background-color: #f8f9fb;
	background: url(../images/more-api-bg.svg) no-repeat center;
	background-size: cover;
}
#classification div:first-child {
	text-align: center;
}
#classification p:nth-child(3) {
	margin: 30px 0;
}
#allpic {
	width: 1200px;
	height: 300px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#classification .pic {
	width: 220px;
	height: 130px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 5px 5px 5px blue;
	margin-bottom: 20px;
}
#classification .pic img {
	width: 40px;
	height: 40px;
}
#classification p:last-child {
	width: var(--totalWid);
	text-align: center;
	margin-top: 40px;
	margin-bottom: 70px;
}

/* 慧集 / APIMaster */
#apimaster {
	width: var(--totalWid);
}
#apimaster div:first-child {
	text-align: center;
}
#apimaster p:nth-child(3) {
	margin: 30px 0;
}
.master-content {
	display: flex;
	justify-content: space-around;
}
.master-content img {
	height: 630px;
	width: 630px;
}
.master-content ul {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 500px;
	height: 630px;
}
.master-content ul li {
	position: relative;
	padding: 18px;
	padding-left: 20px;
	box-sizing: border-box;
	width: 500px;
	height: 80px;
	background-color: #fbfbfd;
	line-height: 20px;
}
.master-content ul li::before {
	position: absolute;
	left: 0;
	top: 30px;
	content: "";
	display: block;
	width: 3px;
	height: 20px;
	background-color: blue;
}
.master-content ul li img {
	width: 15px;
	height: 15px;
}

/* 独角兽板块 */
#unicorn {
	position: relative;
	box-sizing: border-box;
	height: 440px;
}
#unicorn div:first-child {
	text-align: center;
	margin-top: 110px;
	margin-bottom: 80px;
}
#unicorn .unicornbg {
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--totalWid);
	height: 270px;
	background-color: #f8f9fb;
	z-index: 1;
}
.unicornpt {
	display: flex;
	height: 290px;
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	z-index: 9;
	opacity: 0;
}
.unicornpt > img {
	width: 580px;
	height: 290px;
}
.unicornpt-r {
	box-sizing: border-box;
	padding: 0 70px;
	height: 290px;
}
.unicornpt .unicornpt-r p:nth-child(2) {
	font-size: 14px;
	line-height: 30px;
}

.unicornpt .unicornpt-r p:nth-child(3) {
	position: relative;
	font-size: 14px;
	text-align: right;
	line-height: 60px;
}

.unicornpt .unicornpt-r .fxgl::before {
	position: absolute;
	right: 75px;
	top: 28px;
	content: "";
	display: block;
	width: 12px;
	height: 4px;
	background-color: blue;
}
.unicornpt .unicornpt-r .szyh::before {
	position: absolute;
	right: 102px;
	top: 28px;
	content: "";
	display: block;
	width: 12px;
	height: 4px;
	background-color: blue;
}
.unicornpt .unicornpt-r .zgyh::before {
	position: absolute;
	right: 90px;
	top: 28px;
	content: "";
	display: block;
	width: 12px;
	height: 4px;
	background-color: blue;
}
#safe {
	width: var(--totalWid);
}
#safe > div:first-child {
	margin-top: 110px;
	text-align: center;
}
#safe p:nth-child(3) {
	margin: 30px 0;
}
#safe > div:last-child {
	display: flex;
	justify-content: space-around;
	height: 120px;
	text-align: center;
	margin-bottom: 80px;
}
#safe > div:last-child div {
	text-align: center;
	width: 70px;
	height: 120px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#safe > div:last-child img {
	height: 70px;
	width: 70px;
}
#safe > div:last-child p {
	font-size: 10px;
}

/* 免费试用上百种API、体验各类产品和服务 */
#experience {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: var(--totalWid);
	height: 235px;
	background: url(../images/login-register-bg.svg) no-repeat center;
	background-size: cover;
	background-color: blue;
	margin-bottom: 40px;
}
#experience h1 {
	color: white;
}
#experience button {
	width: 127px;
	height: 40px;
	color: white;
	border: white solid 2px;
	background-color: blue;
}

/* 页面尾部 */
footer {
	width: var(--totalWid);
	position: relative;
}
.about {
	display: flex;
	justify-content: space-between;
}
.aboutus {
	width: 730px;
	height: 290px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	color: #b3b3b3;
	font-size: 12px;
}
.aboutus > div:first-child {
	width: 730px;
	height: 205px;
	display: flex;
	justify-content: space-between;
	color: #b3b3b3;
	line-height: 25px;
}
.aboutus > div ul > li:first-child {
	color: black;
	font-size: 16px;
	margin-bottom: 36px;
}
.aboutus > p {
	height: 20px;
	line-height: 20px;
}
.aboutus > p img {
	width: 15px;
	height: 20px;
	vertical-align: middle;
}

.wechat {
	width: 270px;
	height: 290px;
	color: #b3b3b3;
	font-size: 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
.wechat > div {
	text-align: right;
	line-height: 30px;
}
.wechat > div p:first-child {
	font-size: 16px;
	color: black;
}
.wechat > div img {
	margin-top: 30px;
}
.wechat > p {
	height: 20px;
	line-height: 20px;
	text-align: right;
}
#return-top {
	position: fixed;
	right: 240px;
	bottom: 20px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: url(../images/returntopicon.jpg);
	background-position: -162px -55px;
	z-index: 9;
	opacity: 0;
}
